package com.sinbad.shardingsphere.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinbad.shardingsphere.entity.User;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author sinbad
 * @since 2021-09-30
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    Long addUser(User user);

    Page<User> querUserByPage();
}
